export class BaseInfoModel {
    time: number
    offlineTime: number
    dayTime: number
    vipLvl: number
    vipChargeMoney: number
    routeSeeds: any
    saveTime: number
    daySign: boolean
    newYearSign:boolean
    shareSign: boolean
    shareSign1: boolean
    monthVipSign: boolean
    yearVipSign: boolean
    gameDaySign: boolean
    mapProgressMax: number
    luckXunbaoTimes: number
    power: number
    clickGetGoldTimes: number
    getOnlineDataTimes: number
    dayChestTimes: number //每日猎魂次数
    dayArenaTimes: number //每日竞技场次数
    openChestTimes: number //猎魂次数
    mapProgressGifts: number[] //领取冒险礼包记录
    reverseGifts: number[] //领取预约礼包记录
    mailList: any[] //已经领取的邮件列表
    setArenaTimes: number //设置竞技场阵容次数
    constructor(opts: any = {}) {
        this.time = opts.time || 0
        this.dayTime = opts.dayTime || 0
        this.offlineTime = opts.offlineTime || 0
        this.vipLvl = opts.vipLvl || 0
        this.vipChargeMoney = opts.vipChargeMoney || 0
        this.routeSeeds = opts.routeSeeds || {}
        this.saveTime = opts.saveTime || 0
        this.daySign = opts.daySign || false
        this.newYearSign = opts.newYearSign || false
        this.shareSign = opts.shareSign || false
        this.monthVipSign = opts.monthVipSign || false
        this.yearVipSign = opts.yearVipSign || false
        this.gameDaySign = opts.gameDaySign || false
        this.mapProgressMax = opts.mapProgressMax || 0
        this.luckXunbaoTimes = opts.luckXunbaoTimes || 0
        this.power = opts.power || 0
        this.clickGetGoldTimes = opts.clickGetGoldTimes || 0
        this.dayChestTimes = opts.dayChestTimes || 0
        this.dayArenaTimes = opts.dayArenaTimes || 0
        this.getOnlineDataTimes = opts.getOnlineDataTimes || 0
        this.openChestTimes = opts.openChestTimes || 0
        this.mapProgressGifts = opts.mapProgressGifts || []
        this.reverseGifts = opts.reverseGifts || []
        this.shareSign1 = opts.shareSign1 || false
        this.mailList = opts.mailList || []
        this.setArenaTimes = opts.setArenaTimes || 0    
    }
}